﻿<Window x:Class="cpe.cpein.UI.FMainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CPEIn Application" Height="800" Width="1200" MinHeight="600" MinWidth="800"
        Closing="Window_Closing"
        Loaded="Window_Loaded">
    <Grid Name="headerGrid">
        <Grid.RowDefinitions>
            <RowDefinition MinHeight="10" MaxHeight="10" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="30" MaxHeight="30" />
            <RowDefinition MinHeight="10" MaxHeight="10" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MinWidth="30" MaxWidth="30" />
            <ColumnDefinition />
            <ColumnDefinition  />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition MinWidth="30" MaxWidth="30" />
        </Grid.ColumnDefinitions>
        <Button Name="btnHome" Grid.Column="7" Grid.Row="2" MinWidth="50" MaxWidth="100" Content="Accueil" Click="btnNews_Click" Margin="0,0,1,0" />
        <Button Name="btnGroups" Grid.Column="8" Grid.Row="2" MinWidth="50" MaxWidth="100" Content="Groupes" Click="btnGroups_Click"/>
        <Button Name="btnContacts" Grid.Column="9" Grid.Row="2" MinWidth="50" MaxWidth="100" Content="Contacts" Click="btnContacts_Click" />
        <Button Name="btnProfil" Grid.Column="10" Grid.Row="2" MinWidth="50" MaxWidth="100" Content="Profil" Click="btnProfil_Click" />
        <TextBlock Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="4" Grid.RowSpan="2" VerticalAlignment="Center" MinHeight="20" Margin="0,0,0,0" HorizontalAlignment="Left" Name="lblUserName" FontSize="18" FontStretch="Condensed" />
        <TextBlock Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="4" Grid.RowSpan="1" VerticalAlignment="Center" MinHeight="20" Margin="20,0,0,0" HorizontalAlignment="Left" Name="lblUserMail" FontSize="12" FontStretch="Expanded" />
        <UserControl Name="ucContent" VerticalAlignment="Stretch" Grid.ColumnSpan="8" Grid.RowSpan="21" Grid.Column="1" Grid.Row="4" Width="Auto" Height="Auto" Margin="0,20,0,0" />
        <UserControl Name="ucSide" VerticalAlignment="Stretch" Grid.Column="9" Grid.Row="5" Grid.ColumnSpan="2" Grid.RowSpan="20" Background="Wheat"/>
    </Grid>
</Window>
